<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>amCharts example</title>
		
        <style>
          body{
          	background-color: #FFFFFF;
          	font-family: Arial;
          	font-size: 12px;
          }
        </style>		
		
	</head>

	<body>
		<!-- amcharts script-->
		<!-- swf object (version 2.2) is used to detect if flash is installed and include swf in the page -->
		<script type="text/javascript" src="../amcharts/flash/swfobject.js"></script>

		<!-- chart is placed in this div. if you have more than one chart on a page, give unique id for each div -->
		<div id="pie"></div>

	    <script type="text/javascript">
	    
            var params = {
                bgcolor:"#FFFFFF"
                };

		    var flashVars = {
		        path: "../amcharts/flash/",
		        chart_settings: encodeURIComponent("<settings><background><alpha>100</alpha><border_alpha>20</border_alpha></background><legend><enabled>0</enabled><align>center</align></legend><pie><y>50%</y><inner_radius>30</inner_radius></pie><data_labels><show>{title}: {value}</show><max_width>140</max_width></data_labels></settings>"),
                chart_data: encodeURIComponent("<pie><slice title='United States'>19544</slice><slice title='Japan'>5455</slice><slice title='Unresolved'>4229</slice><slice title='France'>2313</slice><slice title='Germany'>2208</slice><slice title='United Kingdom'>2057</slice><slice title='India'>1771</slice><slice title='Russian Federation'>1495</slice><slice title='Korea, Republic of'>1281</slice></pie>"),		        
		        chart_id:"pie"
			};

	    	swfobject.embedSWF("../amcharts/flash/ampie.swf", "pie", "600", "400", "8.0.0", "../amcharts/flash/expressInstall.swf", flashVars, params);
 
        </script>
        
        <form>           		   		   		   
        </form>
    
    </body>
</html>
